package day0317_train01;

import java.util.Random;

public class Test6 {
    public static void main(String[] args) {
        int rs=25/4;
        System.out.println(rs);//6

        long rs2= 2147483647L +3;
        System.out.println(rs2);

        int age=46;
        System.out.println( age==45 );//false
        System.out.println( age>=45 );//true


        Random v1=new Random();
        Random v2=v1;
        Random v3=v1;

        //判断v1变量代表的数值和 v2变量代表的数值是否相等
        System.out.println(v1.equals(v2));


        int dogAge=4;
        System.out.println(0<dogAge & dogAge++<5);
        System.out.println(dogAge);//5


        int catAge=-4;
        //         逻辑与：如果坐标的条件不成立， 右边的条件不会判断
        System.out.println(0<catAge && catAge++<5);
        System.out.println(catAge);//-4


    }



}
